﻿using MyFileView.Core;
using MyFileView.Core.Core;

using unoidl.com.sun.star.beans;

namespace MyFleView.Core
{
    //public interface IConvertFileContext : RegisterAutofac
    //{

    //    public ConvertFileInfo FileInfo { get; set; }

    //    public PropertyValue[] DefaultProperties { get; set; }

    //    public AfterConvertPathHandle AfterConvertPathHandle { get; set; }

    //}
   //}
        /// <summary>
        /// 不用接口是因为 会导致 上下文数据丢失
        /// </summary>
    public class ConvertFileContext: RegisterClassAutofac//: IConvertFileContext
    {

        public ConvertFileContext()
        {
            AfterConvertPathHandle = new();
        }

        public ConvertFileInfo FileInfo { get; set; }

        public PropertyValue[] DefaultProperties { get; set; }

        public AfterConvertPathHandle AfterConvertPathHandle { get; set; }

        //    public AbstractOfficeDocumentConvert LibreOfficeDocument{ get; set; }



    }
}